import request from "./config";

// 获取公告
export const getNotice = (params) => {
  return request({
    url: "/api/notice/get",
    method: "get",
    params,
  });
};
// 保存公告
export const save = (data) => {
  return request({
    url: "/api/notice/save",
    method: "post",
    data,
  });
};
